package mysql

import "gorm.io/gorm"

type Person struct {
	gorm.Model
	Username string `gorm:"type:varchar(20);not null;index:ip_idx commit:'账号'"`
	Password string `gorm:"type:varchar(20);not null;index:ip_idx commit:'密码'"`
	Name     string `gorm:"type:varchar(20);not null;index:ip_idx commit:'姓名'"`
	Img      string `gorm:"type:varchar(255);not null;index:ip_idx commit:'身份证照片'"`
	Tel      string `gorm:"type:varchar(20);not null;index:ip_idx commit:'电话'"`
}
